package com.ytc.model;

import java.util.Date;

public class Book {
    private Integer bookid;

    private String bookname;

    private String bookauthor;

    private String coverphoto;

    private Double bookprice;

   // private Integer booktypeid;
    private Type type;
   // private Integer bookpressid;
    private Press press;

    private Integer bookstatus;

    private String  addtime;

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    public String getBookauthor() {
        return bookauthor;
    }

    public void setBookauthor(String bookauthor) {
        this.bookauthor = bookauthor == null ? null : bookauthor.trim();
    }

    public String getCoverphoto() {
        return coverphoto;
    }

    public void setCoverphoto(String coverphoto) {
        this.coverphoto = coverphoto == null ? null : coverphoto.trim();
    }

    public Double getBookprice() {
        return bookprice;
    }

    public void setBookprice(Double bookprice) {
        this.bookprice = bookprice;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Press getPress() {
        return press;
    }

    public void setPress(Press press) {
        this.press = press;
    }

    public Integer getBookstatus() {
        return bookstatus;
    }

    public void setBookstatus(Integer bookstatus) {
        this.bookstatus = bookstatus;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }
}